Flush any outstanding stuff in the window in non-buffered get_internal_paint_info...
authorAlexander Larsson <alex@localhost.localdomain>
Thu, 22 Jan 2009 19:46:08 +0000 (20:46 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:15:25 +0000 (10:15 +0200)
commita9fd3ae249d090f9dc9e652a35cdc789d9908da7
tree58f5d5735c07204c3fa6b358eb5c0fdec9239371
parent815f0d7605da29be924b2bdfa95c94a0c47509b6
Flush any outstanding stuff in the window in non-buffered get_internal_paint_info case

We return the raw window drawable, so its likely the app will do some
weird stuff to it, like draw using non-gdk operations. We don't want
the app to see any half-drawn state, so flush everything.

This fixes a scroll issue in firefox at least.
gdk/gdkwindow.c